
from django.conf.urls.static import static
from django.conf import settings
from django.urls import path, include
from BloodSpiderWeb.views.request import set_user_info

urlpatterns = [
    # 设置个人信息
    path("api/", include("BloodSpiderAPI.apis.urls")),
    path("web/", include("BloodSpiderWeb.views.urls")),
    path("web/m/", include("BloodSpiderWeb.views.mobile_urls")),
    path("web/set_user_info/", set_user_info, name="设置个人信息"),
]
# 添加媒体文件URL配置
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
